-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Sub:add aux func disarm/estop to pre-arm check for disarm function #29979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with it, but as I'm not quite familiar with the rest of the code, let's leave it for the devcall
885b9d3
to
1412cb3
Compare
1412cb3
to
3ef25c0
Compare
3ef25c0
to
03a266a
Compare
@peterbarker @rmackay9 please approve so @Williangalvani can merge...thanks |
@@ -48,7 +55,7 @@ bool AP_Arming_Sub::pre_arm_checks(bool display_failure) | |||
} | |||
// don't allow arming unless there is a disarm button configured | |||
if (!has_disarm_function()) { | |||
check_failed(display_failure, "Must assign a disarm or arm_toggle button"); | |||
check_failed(display_failure, "Must assign a disarm or arm_toggle button or disarm aux function"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"must have disarm method"?
@@ -48,7 +55,7 @@ bool AP_Arming_Sub::pre_arm_checks(bool display_failure) | |||
} | |||
// don't allow arming unless there is a disarm button configured | |||
if (!has_disarm_function()) { | |||
check_failed(display_failure, "Must assign a disarm or arm_toggle button"); | |||
check_failed(display_failure, "Must assign a disarm or arm_toggle button or disarm aux function"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could make this shorter, something like, "set RCx_OPTION = yy (Disarm)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is not the correct message.....it could be "Needs a disarm switch or button setup"...I will make another PR if you are really fussed...
for RC only operation without joystick buttons or just gcs aux function commands